package com.ray.mapper;

import java.util.List;
import java.util.Map;
import java.util.Set;

import org.apache.ibatis.annotations.Param;

import com.ray.bean.FeedOrderDetailBean;
import com.ray.bean.OrderInfoDetailBean;
import com.ray.bean.OrderReceiveViewBean;
import com.ray.bean.WarehouseInOutDetailBean;
import com.ray.bean.WorkshopMaterialStockCountBean;

public interface IssueNoteMapper {
	
	
	List<FeedOrderDetailBean> getFeedMaterialData(Map<String, String> map);
	int getFeedMaterialDataCount(Map<String, String> map);
	
	List<OrderInfoDetailBean> getOrderInfoDetailByNotProductData(Map<String, Object> map);
	int getOrderInfoDetailByNotProductCount(Map<String, Object> map);
	
	
	/**
	 * 获取发料单数据
	 * 新的获取发料单数据形式
	 * @param map
	 * @return
	 */
//	List<FeedOrderDetailBean> getFeedMaterialDataNew(Map<String, String> map);
//	int getFeedMaterialDataCountNew(Map<String, String> map);
	
	
	/**
	 * 获取订单已领数明细
	 * @param paramMap
	 * @return
	 */
	List<OrderReceiveViewBean> getOrderReceiveCount(Map paramMap);
	
	/**
	 * 获取物料代码未审核的数量
	 * @param map
	 * @return
	 */
	List<OrderReceiveViewBean> getMaterialNotApprovalCount(Map map);
	
	/**
	 * 获取车间仓库库存
	 * @param map
	 * @return
	 */
	List<FeedOrderDetailBean> getWorkShopWarehouseMaterialDate(Map<String, Object> map);
	int getWorkShopWarehouseMaterialCount(Map<String, Object> map);
	
	/**
	 * 获取车间库存
	 * @param map
	 * @return
	 */
	List<WorkshopMaterialStockCountBean> getWorkShopMaterialCount(Map map);
	/**
	 * 车间库存分页条数
	 * @param map
	 * @return
	 */
	int getWorkShopMaterialCountPageCount(Map map);
	
	//获取发料单
	List<WarehouseInOutDetailBean> getOrderInPriceData(@Param("orderIdSet")Set<String> orderIdSet);
	
	

}
